package ai.plantdata.Structural.mode.Wrapper.abstracts;

import ai.plantdata.Structural.mode.Wrapper.interfaces.Shape;

/**
 * @Author: WangHui
 * @Date: 2020/12/21 14:05
 * @Description:
 */
public class ShapeDecorator implements Shape {
    public Shape decoratedShape;
    @Override
    public void draw() {
        decoratedShape.draw();
    }

    public ShapeDecorator(Shape decoratedShape) {
        this.decoratedShape = decoratedShape;
    }
}
